package com.ruoyi.course.mapper;

import java.util.List;
import com.ruoyi.course.domain.SysPaperTopic;

/**
 * 试卷与题目关联Mapper接口
 * 
 * @author yjf
 */
public interface SysPaperTopicMapper 
{
    /**
     * 查询试卷与题目关联
     *
     * @param sysPaperTopic 试卷与题目关联
     * @return 试卷与题目关联
     */
    public SysPaperTopic getSysPaperTopicInfo(SysPaperTopic sysPaperTopic);

    /**
     * 统计题目列表
     *
     * @param sysPaperTopic 试卷与题目关联
     * @return 题目集合
     */
    public int topicSum(SysPaperTopic sysPaperTopic);

    /**
     * 查询试卷与题目关联列表
     * 
     * @param sysPaperTopic 试卷与题目关联
     * @return 试卷与题目关联集合
     */
    public List<SysPaperTopic> selectSysPaperTopicList(SysPaperTopic sysPaperTopic);

    /**
     * 新增试卷与题目关联
     * 
     * @param sysPaperTopic 试卷与题目关联
     * @return 结果
     */
    public int insertSysPaperTopic(SysPaperTopic sysPaperTopic);
    /**
     * 批量删除试卷与题目关联
     * 
     * @param sysPaperTopic 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysPaperTopic(SysPaperTopic sysPaperTopic);
}
